// pages/index/comps/navBox/navBox.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        nowDate: String
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        goShopVideo: function () {
            wx.navigateTo({
                url: '/pages/shopVideo/shopVideo/shopVideo'
            })
        },

        beMember: function () {
            wx.navigateTo({
                url: '/pages/beMember/beMember'
            })
        },

        goShaping: function () {
            wx.navigateTo({
                url: '/pages/beauty/index/index'
            })
        },

        goMeeting: function () {
            wx.showToast({
                title: '即将开放，敬请期待',
                icon: 'none',
                duration: 2000
            })
        },

        goShare: function () {
            wx.navigateTo({
                url: '/pages/share/share'
            })
        },

        goClassifyGoods: function (e) {
            wx.navigateTo({
                url: '/pages/goods/classifyGoods/classifyGoods?id=' + e.currentTarget.dataset.id
            })
        }
    }
})